package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;


/**
 * 排班信息对象 Scheduling
 *
 * @author ruoyi
 * @date 2023-07-04
 */


@TableName("Scheduling")
@ApiModel(value = "Scheduling对象", description = "排班信息")
public class Scheduling implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Excel(name = "id")
    @ApiModelProperty("id")
    @TableId(value = "Id", type = IdType.AUTO)
    private Long Id;

    /**
     * 科室id
     */
    @Excel(name = "科室id")
    @ApiModelProperty("科室id")
    @TableField("DeptId")
    private Long DeptId;

    /**
     * 医生id
     */
    @Excel(name = "医生id")
    @ApiModelProperty("医生id")
    @TableField("UserId")
    private Long UserId;

    /**
     * 午别
     */
    @Excel(name = "午别")
    @ApiModelProperty("午别")
    @TableField("Noon")
    private String Noon;

    /**
     * 挂号限额
     */
    @Excel(name = "挂号限额")
    @ApiModelProperty("挂号限额")
    @TableField("RegistQuota")
    private Long RegistQuota;

    @JsonProperty("Id")
    public Long getId() {
        return Id;
    }

    public void setId(Long Id) {
        this.Id = Id;
    }

    @JsonProperty("DeptId")
    public Long getDeptId() {
        return DeptId;
    }

    public void setDeptId(Long DeptId) {
        this.DeptId = DeptId;
    }

    @JsonProperty("UserId")
    public Long getUserId() {
        return UserId;
    }

    public void setUserId(Long UserId) {
        this.UserId = UserId;
    }

    @JsonProperty("Noon")
    public String getNoon() {
        return Noon;
    }

    public void setNoon(String Noon) {
        this.Noon = Noon;
    }

    @JsonProperty("RegistQuota")
    public Long getRegistQuota() {
        return RegistQuota;
    }

    public void setRegistQuota(Long RegistQuota) {
        this.RegistQuota = RegistQuota;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("Id", getId())
                .append("DeptId", getDeptId())
                .append("UserId", getUserId())
                .append("Noon", getNoon())
                .append("RegistQuota", getRegistQuota())
                .toString();
    }
}

